home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
proboard
/
prp102a.zip
/
PRP.DOC
< prev
next >
Wrap
Text File
|
1996-06-03
|
10KB
|
258 lines
╔══════════════════════════════════════════════╗
║ ProBoard Request Processor v1.02a ║
║ Written by Tom Torfs (2:292/516@fidonet.org) ║
╚══════════════════════════════════════════════╝
This is freeware. You are encouraged to copy this program
and give copies to your friends. You may not, however,
change this program or its documentation in any way
or distribute modified versions of the original archive.
*** OVERVIEW ***
ProBoard Request Processor is a simple program that quickly
generates responses to file requests, even from cd-roms, by
reading the ProBoard index files directly.
It is compatible with FrontDoor, McMail and other mailers that
support external file request processors.
Both normal file requests and update requests (only if a file
is newer than a certain date) are supported. Separate request
limits for secure and unsecure sessions, and unlimited requests
from free areas are also supported.
If you are looking for bells and whistles, like timeslots,
passwords for files, etc. this program is not for you.
If you are looking for a simple, robust and most of all
fast file request processor for your ProBoard-based BBS,
this is what you've been waiting for.
*** INSTALLATION ***
First unpack the archive into a separate directory
(recommended) or into your mailer's directory.
A) FrontDoor
Launch FDSETUP and set the following information in
Mailer/File requests/Request processor:
Program C:\FD\PRP\PRP.EXE =R =T =X =A "=O" (*)
Enabled Yes
Swapping No (**)
(*) use the correct path, of course
(**) set to Yes if you're really low on memory
Oh yes, of course this is only possible with the registered
version of FrontDoor. But you knew that, didn't you ?
B) McMail
Set up the following command string:
ReqProcessor C:\MCMAIL\PRP\PRP.EXE =PFL =PXL =SU =PA "=RS" (*)
(*) use the correct path, of course
C) Others
Set up the command line as follows (look in your mailer's manual
for the required macros):
PRP.EXE <infile> <outfile> <SECURE|UNSECURE> <address> "<sysopname>"
If you provide me with the correct command line for another mailer,
please inform me. It will be added to this doc and I will give
credit to you.
To upgrade from a previous version of PRP, simply unpack the
archive into the PRP directory. Your configuration and template
files will be left intact. However, to use some of the new
features (logging, for example), changing the configuration file
will be necessary.
*** CONFIGURATION ***
The configuration file must be named PRP.CFG and must be in the
same directory as PRP.EXE. It is a text file configuration,
and can contain the following keywords. Everything after a
semicolon (;) is treated as a comment and ignored.
ADDRESS=<your main address>
Your main address, in the form zone:net/node.point. Any omitted
fields (e.g. point) are assumed to be zero.
This address is used as the origin for the file request response
messages.
MAGIC=<list with magic file names>
Defines the path and filename of the file containing a list
of magic filenames (same file as the alias file in FrontDoor).
Each line contains a magic name, followed by at least one
space and then the full path of the corresponding file name
(wildcards supported).
If this is omitted, no magic files will be available.
PBPATH=<path to ProBoard system directory>
If you omit this, the environment variable PB will be read, and
if that isn't set, C:\PB will be assumed.
LOGFILE=<logfile>
Defines the path and filename of the logfile. Leave empty, or
simply omit, to disable logging.
MAXFILES=<maximum number of files>
Defines the maximum number of files a system may request per
session. If you omit this or set it to zero, there is no
limit.
MAXKB=<maximum number of kilobytes>
Defines the maximum number of kilobytes a system may request
per session. If you omit this or set it to zero, there is no
limit.
MAXLEVEL=<maximum security level>
Defines the maximum security level a file area may have in
ProBoard for a system to be allowed to request from it. Set
this to 32767 (or omit it) if you want no limit.
MAXFILES_SECURE=<maximum number of files>
Same as MAXFILES but for secure sessions. If you omit this the
setting from MAXFILES will be used.
MAXKB_SECURE=<maximum number of kilobytes>
Same as MAXKB but for secure sessions. If you omit this the
setting from MAXKB will be used.
MAXLEVEL_SECURE=<maximum security level>
Same as MAXLEVEL but for secure sessions. If you omit this the
setting from MAXLEVEL will be used.
FREEFILES=<YES|NO>
If set to YES, request limits are ignored for file areas marked
as 'free' in ProBoard. This is also the default behaviour.
This only affects number of files & kb limits, security level
limits are still respected even if the area is marked as free.
FREEMAGIC=<YES|NO>
If set to YES, request limits are ignored for files requested
using magic names. This is also the default behaviour.
*** RESPONSE TEMPLATE ***
The response template file must be named PRP.TPL and must be in
the same directory as PRP.EXE. If this file isn't found, no
response will be generated.
The first character of each line can define when a line should
be included in the response:
; comment, always ignored
+ only if the request succeeded entirely
* only if the request succeeded at least partly
- only if the request didn't succeed entirely
! only if the request limits were exceeded
? only if some of the requested files weren't found
# always include this line
All other characters will cause the line to be always included. The
# character is useful if you want a line beginning with any of the
above characters to be always included.
You can use the following macros in the response template (case
sensitive):
@SYSOPNAME@ name of sysop of requesting system
@SYSOPFIRST@ first name of sysop of requesting system
@MAXFILES@ maximum number of files this system can request
per session (UNLIMITED if 0)
@MAXKB@ maximum number of kilobytes this system can request
per session (UNLIMITED if 0)
@SENTFILES@ names and descriptions of sent files (everything
else on this line will be ignored)
@OVERLIMIT@ names and descriptions of files which exceeded limits
(everything else on this line will be ignored)
@NOTFOUND@ names of files for which no match was found
(everything else on this line will be ignored)
See the example SAMPLE.TPL for an example on how to use these.
*** FILENAME MATCHING ***
For normal files, extensions are ignored. So when someone freqs
PRP102.ZIP, PRP102.ARJ will also match. Also only one file
with the same base name will be sent. So if someone freqs
PRP102.* and you have both PRP102.ARJ and PRP102.ZIP, only
the first will be sent.
The above isn't used if the last two characters of the extension
are numbers. So if someone freqs NODEDIFF.* the files NODEDIFF.Z89,
NODEDIFF.Z96 etc. will be sent. But if someone freqs NODELIST.Z96
he will only get NODELIST.Z96 and not for example NODELIST.Z89.
*** FILES.BBS ***
When a match is found, the file size and date/time stamp are
looked up. It ignores this info in the FILES.BBS if present, so
that an incorrect FILES.BBS doesn't cause incorrect results (like
an attempt to send a missing file you forgot to delete from
FILES.BBS etc.). Only the description is read from the FILES.BBS,
with all optional information like file size, date/time, download
counters etc. stripped.
This way I also avoid compatibility problems with the different
date formats etc.
Extended descriptions are supported. The first non-whitespace character
on each extended description line must be a +, | or >.
When a file is requested using a magic name, the description is searched
for in FILES.BBS in the same directory as the file. For normal files, the
File Listing name from the ProBoard file area configuration is used.
*** ERRORLEVELS ***
0 = all OK
1 = syntax error
2 = file error
3 = memory error
*** CONTACTING THE AUTHOR ***
Although this is a freeware program, I am willing to give (limited)
support for it. You can write netmail to me at 2:292/516@fidonet.org
or call my BBS at 32-15-24.62.32 and leave a message.
*** SOURCE CODE ***
Sorry, no source code for this one. If you want to write your own
file request processor, you'll find enough information in the
FrontDoor development kit (FDDEV) to do so without having to see
my source.
*** HISTORY OF PRP ***
Version Release date Changes
1.0 9 Apr 1996 Original version
1.01 3 May 1996 * Added file sharing support for
multiline BBSes
1.02 27 May 1996 * Unlimited requests from free
file areas & free magic names
(configurable)
* Logging now possible
* Added documentation for setup
with McMail mailer
* Miscellaneous small changes to
the documentation & code
1.02a 3 June 1996 * OS/2 problem fixed
*** CREDITS ***
Thanks to Jacques Theys for suggesting the file sharing compability
and for providing the correct McMail setup string.
*** END OF DOCUMENT ***